<?php
/**
* A model browing and selection interface for use in conjuction with the
* "model-binding" core UI widget.
*
* @package Scribble
*/
$urlRoot = Buan\Config::get('ext.Scribble.urlRoot');
Buan\View::getGlobalView()->addStylesheets("{$urlRoot}/css/scribble/model-binding/browser-widget.css");
Buan\View::getGlobalView()->addJavascripts("{$urlRoot}/js/scribble/model-binding/browser-widget.js");
?>

<!-- Control panel -->
<div id="control-panel">
	<input type="hidden" id="config" value="<?php $this->html->e(json_encode($config)); ?>" />
	<div id="control-actions">
		<button id="btn-complete" value="OK"><span>OK</span></button>
	</div>
</div>

<!-- Navigation pane -->
<div id="view">
	<p>
		[t:Loading, please wait] ...
	</p>
</div>

<!-- Container for selected assets -->
<div id="selection"></div>